package com.community.community.pojo.dto;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

/**
 * @author MUZ
 */
@Data
public class GoodDto {

    @NotBlank
    private String title;

    @NotBlank
    private String description;

    private Integer type;

    private Double price;

    private Integer rentDay;

    private List<String> images;

    private Integer userId;
}
